package com.itheima.job1;

public class Test {
    public static void main(String[] args) {
        Point point = new Point();
        new Thread(()->
        {
           point.saleTicket(); ;
        }).start();
        new Thread(()->
        {
            point.saleTicket() ;
        }).start();
        new Thread(()->
        {
            point.saleTicket() ;
        }).start();
    }
}
